package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "推荐书籍信息", description = "用于推荐书籍")
public class Books {
    /*编号*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /*推荐书籍名*/
    @ApiModelProperty(value = "推荐书籍名", example = "宋代文化消费研究")
    private String name;
    /*书籍封面*/
    @ApiModelProperty(value = "书籍封面路径", example = "http://47.96.160.116:9090/files/1721113324581-殿试.png")
    private String img;
    /*书籍收藏量*/
    @ApiModelProperty(value = "书籍收藏量", example = "12")
    private String collect;
    /*书籍介绍*/
    @ApiModelProperty(value = "书籍介绍", example = "本书以宋代文化消费的内容为线索，以消费者为切入点，着眼于消费过程，探索宋代文化消费状况、特点、影响等，并对从文化消费现象背后所透视出的社会结构的变动、社会阶层的分化、文化的层间互动、消费观念的嬗变、社会流动的加速等方面，从机理和意义层面进行了深刻而独到的剖析，为我们展现了一幕宋代文化消费的历史活剧。")
    private String detail;
    /*书籍分类编号*/
    @ApiModelProperty(value = "书籍分类编号", example = "7")
    private String bcid;
    /*书籍分类*/
    private String categoryname;
    /*书籍作者*/
    @ApiModelProperty(value = "书籍作者", example = "秦开凤")
    private String author;
    @ApiModelProperty(value = "跳转链接", example = "https://www.doc88.com/p-8486970160656.html")
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getBcid() {
        return bcid;
    }

    public void setBcid(String bcid) {
        this.bcid = bcid;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
